import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import getters from './getters'
import actions from './actions'
import moduleA from './modules/moduleA'

Vue.use(Vuex)

const state = {
	counter: 100
}

const store = new Vuex.Store({
	state,
	mutations,
	actions,
	getters,
	modules: {
		a: moduleA
	}
})

export default store


